package com.hopes.bizz.poll.alarm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hopes.bizz.poll.alarm.bo.AlarmStatistics;
import com.hopes.bizz.poll.alarm.bo.PollAlarmGIS;
import com.hopes.bizz.poll.alarm.dto.AlarmStatisticsRequest;

import java.util.List;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/5/30 15:35
 * @Description:
 */
public interface PollAlarmStatisticsService {

    /**
     * 报警数据统计
     * @param page
     * @return
     */
    List<AlarmStatistics> getStatistics(Page page, AlarmStatisticsRequest request);

    /**
     * gis 报警信息统计
     *
     * @param mainType
     * @return
     */
    List<PollAlarmGIS> getGisAlarmByMainType(Integer mainType);
}
